﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DependencyMap" targetNamespace="http://tempuri.org/DependencyMap.xsd" xmlns:mstns="http://tempuri.org/DependencyMap.xsd" xmlns="http://tempuri.org/DependencyMap.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="ExcludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DependencyMap" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DependencyMap" msprop:Generator_DataSetName="DependencyMap" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Resource" msprop:Generator_UserTableName="Resource" msprop:Generator_RowDeletedName="ResourceRowDeleted" msprop:Generator_RowChangedName="ResourceRowChanged" msprop:Generator_RowClassName="ResourceRow" msprop:Generator_RowChangingName="ResourceRowChanging" msprop:Generator_RowEvArgName="ResourceRowChangeEvent" msprop:Generator_RowEvHandlerName="ResourceRowChangeEventHandler" msprop:Generator_TableClassName="ResourceDataTable" msprop:Generator_TableVarName="tableResource" msprop:Generator_RowDeletingName="ResourceRowDeleting" msprop:Generator_TablePropName="Resource">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="Url" msprop:Generator_UserColumnName="Url" msprop:Generator_ColumnPropNameInRow="Url" msprop:Generator_ColumnVarNameInTable="columnUrl" msprop:Generator_ColumnPropNameInTable="UrlColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ContentType" msprop:Generator_UserColumnName="ContentType" msprop:Generator_ColumnPropNameInRow="ContentType" msprop:Generator_ColumnVarNameInTable="columnContentType" msprop:Generator_ColumnPropNameInTable="ContentTypeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="SPID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="SPID" msprop:Generator_ColumnPropNameInRow="SPID" msprop:Generator_ColumnVarNameInTable="columnSPID" msprop:Generator_ColumnPropNameInTable="SPIDColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Error" msprop:Generator_UserColumnName="Error" msprop:Generator_ColumnPropNameInRow="Error" msprop:Generator_ColumnVarNameInTable="columnError" msprop:Generator_ColumnPropNameInTable="ErrorColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Dependency" msprop:Generator_UserTableName="Dependency" msprop:Generator_RowDeletedName="DependencyRowDeleted" msprop:Generator_RowChangedName="DependencyRowChanged" msprop:Generator_RowClassName="DependencyRow" msprop:Generator_RowChangingName="DependencyRowChanging" msprop:Generator_RowEvArgName="DependencyRowChangeEvent" msprop:Generator_RowEvHandlerName="DependencyRowChangeEventHandler" msprop:Generator_TableClassName="DependencyDataTable" msprop:Generator_TableVarName="tableDependency" msprop:Generator_RowDeletingName="DependencyRowDeleting" msprop:Generator_TablePropName="Dependency">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Source" msprop:Generator_UserColumnName="Source" msprop:Generator_ColumnPropNameInRow="Source" msprop:Generator_ColumnVarNameInTable="columnSource" msprop:Generator_ColumnPropNameInTable="SourceColumn" type="xs:int" />
              <xs:element name="Link" msprop:Generator_UserColumnName="Link" msprop:Generator_ColumnPropNameInRow="Link" msprop:Generator_ColumnVarNameInTable="columnLink" msprop:Generator_ColumnPropNameInTable="LinkColumn" type="xs:int" />
              <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInTable="TypeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Text" msprop:Generator_UserColumnName="Text" msprop:Generator_ColumnPropNameInRow="Text" msprop:Generator_ColumnVarNameInTable="columnText" msprop:Generator_ColumnPropNameInTable="TextColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Resource" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="Constraint2">
      <xs:selector xpath=".//mstns:Resource" />
      <xs:field xpath="mstns:Url" />
    </xs:unique>
    <xs:unique name="Dependency_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Dependency" />
      <xs:field xpath="mstns:Source" />
      <xs:field xpath="mstns:Link" />
    </xs:unique>
    <xs:keyref name="Resource_Link_Dependency" refer="Constraint1" msprop:rel_Generator_UserRelationName="Resource_Link_Dependency" msprop:rel_Generator_RelationVarName="relationResource_Link_Dependency" msprop:rel_Generator_UserChildTable="Dependency" msprop:rel_Generator_UserParentTable="Resource" msprop:rel_Generator_ParentPropName="ResourceRowByResource_Link_Dependency" msprop:rel_Generator_ChildPropName="GetDependencyRowsByResource_Link_Dependency">
      <xs:selector xpath=".//mstns:Dependency" />
      <xs:field xpath="mstns:Link" />
    </xs:keyref>
    <xs:keyref name="FK_Resource_Source_Dependency" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Resource_Source_Dependency" msprop:rel_Generator_RelationVarName="relationFK_Resource_Source_Dependency" msprop:rel_Generator_UserChildTable="Dependency" msprop:rel_Generator_UserParentTable="Resource" msprop:rel_Generator_ParentPropName="ResourceRowByFK_Resource_Source_Dependency" msprop:rel_Generator_ChildPropName="GetDependencyRowsByFK_Resource_Source_Dependency">
      <xs:selector xpath=".//mstns:Dependency" />
      <xs:field xpath="mstns:Source" />
    </xs:keyref>
  </xs:element>
</xs:schema>